<?php use_stylesheet('main.css') ?>
<span class="heading1">Profile</span>
<table id="user_form">
  <tbody>
    <tr>
      <th colspan="2"><h3>Account Detail</h3></th>
    </tr>
	<tr>
      <th>Investment Plan:</th>
      <td><?php echo $xistsUser->getXistsPlan() ?></td>
    </tr>
	<tr>
      <th>Deposit amount:</th>
      <td><?php echo sfConfig::get('app_currency') ?> <?php echo $xistsUser->getDepositAmount() ?></td>
    </tr>
    <tr>
      <th>Join date:</th>
      <td><?php echo $xistsUser->getJoinDate(sfConfig::get('app_date_format')) ?></td>
    </tr>
    <tr>
      <th>Account expires at:</th>
      <td><?php echo $xistsUser->getPlanExpiresAt(sfConfig::get('app_date_format')) ?></td>
    </tr>
	<tr>
      <th>Ref username:</th>
      <td><?php echo $xistsUser->getRefUsername() ?></td>
    </tr>
    <tr>
      <th>Place under username:</th>
      <td><?php echo $xistsUser->getPlaceUnderUsername() ?></td>
    </tr>
    <tr>
      <th>Join position:</th>
      <td><?php echo XistsUserPeer::$joinPostion[$xistsUser->getJoinPosition()] ?></td>
    </tr>
    <tr>
      <th>Username:</th>
      <td><?php echo $xistsUser->getUsername() ?></td>
    </tr>
	<tr>
      <th>Email:</th>
      <td><?php echo $xistsUser->getEmail() ?></td>
    </tr>

	<tr>
      <th colspan="2" style="border:0;"><br></th>
    </tr>
	<tr>
      <th colspan="2"><h3>Personal Detail</h3></th>
    </tr>
    <tr>
      <th>First name:</th>
      <td><?php echo $xistsUser->getFirstName() ?></td>
    </tr>
    <tr>
      <th>Last name:</th>
      <td><?php echo $xistsUser->getLastName() ?></td>
    </tr>
    <tr>
      <th>Gender:</th>
      <td><?php echo $xistsUser->getGender() ?></td>
    </tr>
    <tr>
      <th>Dob:</th>
      <td><?php echo $xistsUser->getDob(sfConfig::get('app_date_format')) ?></td>
    </tr>
    <tr>
      <th>Address1:</th>
      <td><?php echo $xistsUser->getAddress1() ?></td>
    </tr>
    <tr>
      <th>Address2:</th>
      <td><?php echo $xistsUser->getAddress2() ?></td>
    </tr>
    <tr>
      <th>City:</th>
      <td><?php echo $xistsUser->getCity() ?></td>
    </tr>
    <tr>
      <th>State:</th>
      <td><?php echo $xistsUser->getState() ?></td>
    </tr>
    <tr>
      <th>Country:</th>
      <td><?php echo $xistsUser->getXistsCountry() ?></td>
    </tr>
    <tr>
      <th>Zipcode:</th>
      <td><?php echo $xistsUser->getZipcode() ?></td>
    </tr>
    <tr>
      <th>Mobile:</th>
      <td><?php echo $xistsUser->getMobile() ?></td>
    </tr>
    <tr>
      <th>Passport no:</th>
      <td><?php echo $xistsUser->getPassportNo() ?></td>
    </tr>
  </tbody>
</table>
